#include <stdio.h>
#define N 100
int main(void)
{
	int i,j,t,n;
	int d[N+1];
	scanf("%d",&n);
	for (i=0;i<n;i++)
		scanf("%d",&d[i]);
	for (i=1;i<=n;i++){
		for (j=0;j<n-i;j++)
			if (d[j]>d[j+1]){
				t=d[j];
				d[j]=d[j+1];
				d[j+1]=t;
			}
	}
	for (i=0;i<n;i++)
		printf("%d",d[i]);
	return 0;
}
